﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Main.Master" Inherits="System.Web.Mvc.ViewPage<Defect_Tracking_System.Models.ClientModel>" %>
<%@ Import Namespace="Helpers"%>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Add Client
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div id="page-heading"><h1>Add Client</h1></div>

<table cellspacing="0" cellpadding="0" border="0" id="content-table">
<tbody><tr>
	<th class="sized" rowspan="3"><img height="300" width="20" alt="" src="../../Content/images/shared/side_shadowleft.jpg"></th>
	<th class="topleft"></th>
	<td id="tbl-border-top">&nbsp;</td>
	<th class="topright"></th>
	<th class="sized" rowspan="3"><img height="300" width="20" alt="" src="../../Content/images/shared/side_shadowright.jpg"></th>
</tr>
<tr>
	<td id="tbl-border-left"></td>
	<td>
	<!--  start content-table-inner -->
	<div id="content-table-inner">
	
	<table cellspacing="0" cellpadding="0" border="0"  style="height:250px;">
	<tbody><tr valign="top">
	<td>		
	
        <!-- start id-form -->
        <% Html.BeginForm(); %>
        <% if (ViewData["message"] != null)
            {%>
            <div id="message-yellow">
			<table border="0" width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td class="yellow-left"><%: ViewData["message"] %></td>
				<td class="yellow-right"><a class="close-yellow"><img src="/Content/images/table/icon_close_yellow.gif" alt=""></a></td>
			</tr>
			</table>
			</div>
        <% } %>
        <table cellspacing="0" cellpadding="0" border="0" id="id-form">
        <tbody>
        <tr>
            <th valign="top">First Name:</th>
            <td><%: Html.MyTextBoxFor(m => m.FirstName) %></td>
            <td><%: Html.MyValidationMessageFor(m => m.FirstName) %></td>
        </tr>
        <tr>
            <th valign="top">Last Name:</th>
            <td><%: Html.MyTextBoxFor(m => m.LastName) %></td>
            <td><%: Html.MyValidationMessageFor(m => m.LastName) %></td>
        </tr>
        <tr>
            <th valign="top">Company:</th>
            <td><%: Html.MyTextBoxFor(m => m.Company) %></td>
            <td><%: Html.MyValidationMessageFor(m => m.Company) %></td>
        </tr>
        <tr>
            <th valign="top">Email:</th>
            <td><%: Html.MyTextBoxFor(m => m.Email) %></td>
            <td><%: Html.MyValidationMessageFor(m => m.Email) %></td>
        </tr>
        <tr>
            <th>&nbsp;</th>
            <td valign="top">
                <input type="submit" class="form-submit" value="">
                <input type="reset" class="form-reset" value="">
            </td>
            <td></td>
        </tr>
        </tbody>
        </table>
        <% Html.EndForm(); %>
        <!-- end id-form  -->

	</td>
</tr>
<tr>
<td><img height="1" width="695" alt="blank" src="../../Content/images/shared/blank.gif"></td>
<td></td>
</tr>
</tbody></table>
 
<div class="clear"></div>
 

</div>
<!--  end content-table-inner  -->
</td>
<td id="tbl-border-right"></td>
</tr>
<tr>
	<th class="sized bottomleft"></th>
	<td id="tbl-border-bottom">&nbsp;</td>
	<th class="sized bottomright"></th>
</tr>
</tbody></table>

<div class="clear">&nbsp;</div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="Fotter" runat="server">
</asp:Content>

